names = ['a', 'aa', 'zhang']
for name in names:
    print name
for i in {'9.2':5, 'wife':'Viki'}:
    print i
d = {'9.2':5, 'wife':'Viki'}
for i in d:
    print d[i]


i = 0
L = [1, 2, 3, 4, 5, 5]
x = 5
found=i=0
while not found and i<len(L):
    if 2*x == L[i]:
        found = 1
    else:
        i = i + 1
if found:
    print 'at index', i
else:
    print x, 'not found' #x,'not found'
